package com.ktgj.pay.mapper;

import java.util.List;
import com.ktgj.pay.domain.InvoiceInvoiceOrder;
import com.ktgj.pay.domain.InvoiceInvoiceOrderDTO;
import com.ktgj.pay.domain.vo.InvoiceInvoiceOrderVO;

/**
 * 发票订单Mapper接口
 * 
 * @author ruoyi
 * @date 2022-01-24
 */
public interface InvoiceInvoiceOrderMapper 
{
    /**
     * 查询发票订单
     * 
     * @param invoiceid 发票订单ID
     * @return 发票订单
     */
    public InvoiceInvoiceOrder selectInvoiceInvoiceOrderById(Long invoiceid);

    /**
     * 查询发票订单
     *
     * @param orderNum 订单
     * @return 发票订单
     */
    public InvoiceInvoiceOrder selectInvoiceInvoiceOrderByNum(Long orderNum);
    /**
     * 查询发票订单列表
     *
     * @param jsjid 发票订单ID
     * @return 发票订单
     */
    public List<InvoiceInvoiceOrder> selectInvoiceInvoiceOrderListByCustomerId(String jsjid );

    /**
     * 查询发票订单列表
     * 
     * @param invoiceInvoiceOrder 发票订单
     * @return 发票订单集合
     */
    public List<InvoiceInvoiceOrder> selectInvoiceInvoiceOrderList(InvoiceInvoiceOrder invoiceInvoiceOrder);

    /**
     * 新增发票订单
     * 
     * @param invoiceInvoiceOrder 发票订单
     * @return 结果
     */
    public int insertInvoiceInvoiceOrder(InvoiceInvoiceOrder invoiceInvoiceOrder);

    /**
     * 修改发票订单
     * 
     * @param invoiceInvoiceOrder 发票订单
     * @return 结果
     */
    public int updateInvoiceInvoiceOrder(InvoiceInvoiceOrder invoiceInvoiceOrder);

    /**
     * 删除发票订单
     * 
     * @param invoiceid 发票订单ID
     * @return 结果
     */
    public int deleteInvoiceInvoiceOrderById(Long invoiceid);

    /**
     * 批量删除发票订单
     * 
     * @param invoiceids 需要删除的数据ID
     * @return 结果
     */
    public int deleteInvoiceInvoiceOrderByIds(Long[] invoiceids);

    /**
     * 发票查询
     * @param invoiceOrder
     * @return
     */
    public List<InvoiceInvoiceOrderDTO> invoiceOrderList(InvoiceInvoiceOrderVO invoiceOrder);
}
